import request from '@/utils/request'

let LabelApi = {
  /*获取列表*/
  LabelList(data, errorback) {
    return request._get('/shop/product.productLabel/index', data, errorback);
  },
  /*添加*/
  addLabel(data, errorback) {
    return request._post('/shop/product.productLabel/add', data, errorback);
  },
  /*编辑*/
  editLabel(data, errorback) {
    return request._post('/shop/product.productLabel/edit', data, errorback);
  },
  /*删除*/
  deleteLabel(data, errorback) {
    return request._post('/shop/product.productLabel/delete', data, errorback);
  },
  /*分类审核*/
  auditStatusSubmit(data, errorback) {
    return request._post('/shop/product.productLabel/audit', data, errorback);
  },
}
export default LabelApi;
